package com.ctshk.rpc.order.train.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 火车退款记录
 * </p>
 *
 * @author 彭柳霖
 * @since 2021-03-17
 */
@Data
@ApiModel(value="TrainOrderRefund对象", description="火车退款记录")
public class TrainOrderRefundDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "所属订单")
    private Long orderId;

    @ApiModelProperty(value = "退款单号")
    private String refundNumber;

    @ApiModelProperty(value = "退款金额币种ID")
    private Long currencyId;

    @ApiModelProperty(value = "退款金额币种名称")
    private String currency;

    @ApiModelProperty(value = "退款金额")
    private BigDecimal refundAmount;

    @ApiModelProperty(value = "实际退款金额(单位与退款金额一致)")
    private BigDecimal approvalAmount;

    @ApiModelProperty(value = "退款方式ID")
    private Long refundWayId;

    @ApiModelProperty(value = "退款方式")
    private String refundWay;

    @ApiModelProperty(value = "退款账户")
    private String refundAccount;

    @ApiModelProperty(value = "退款原因")
    private String refundReason;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "拒绝原因")
    private String rejectReason;

    @ApiModelProperty(value = "申请人")
    private String approvalUser;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "创建时间(申请时间)")
    private LocalDateTime gmtCreate;
}
